package com.xiaoshuidi.cloud.module.iot.dal.model.device;

import com.alibaba.fastjson.JSONObject;
import com.xiaoshuidi.cloud.module.iot.dal.pojo.TbDeviceDo;
import com.xiaoshuidi.cloud.module.iot.dal.pojo.TbDeviceDosageDo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author Sky
 * create 2019/06/20
 * email sky.li@ixiaoshuidi.com
 **/
@Data
public class TbDeviceDosageCallbackModel {

    /**
     * tb_device_dosage表实体类
     */
    @Schema(description = "tb_device_dosage表实体类")
    private TbDeviceDosageDo tbDeviceDosageDo;

    /**
     * tb_device表实体类
     */
    @Schema(description = "tb_device表实体类")
    private TbDeviceDo tbDeviceDo;
    /**
     * 门锁开门记录信息
     */
    @Schema(description = "门锁开门记录信息")
    private JSONObject openRecord;

    /**
     * 抄表时指定的联线状态 1在线0离线
     */
    @Schema(description = "抄表时指定的联线状态")
    private Integer onlineStatus;

    /**
     * 抄表时指定的通断状态 1通电0断电
     */
    @Schema(description = "抄表时指定的通断状态")
    private Integer powerStatus;

    @Schema(description = "房间id")
    private String roomCode;
}
